class  GradeCal
{
	public static void main(String[] args) 
	{
	int mark = Integer.parseInt(args[0]);
	String grade;
	if(mark>=100) grade="YOUR MARK OVER FLOW";
	else if(mark>=80) grade="A";
	else if(mark>=75) grade="B+";
	else if(mark>=70) grade="B";
	else if(mark>=65) grade="C+";
	else if(mark>=60) grade="C";
	else if(mark>=55) grade="D+";
	else if(mark>=50) grade="D";
	else if(mark<50 && mark>=0) grade="F";
	else grade="YOUR MARK UNDER FLOW";	
	System.out.printf("Mark =%d ",mark);
	System.out.printf("  Grade =%s ",grade);
	}
}
